package info.nixbear.tgcms.admin.shared.request;

import info.nixbear.tgcms.domain.Attachment;

import java.util.Date;

import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.google.web.bindery.requestfactory.shared.ValueProxy;

@ProxyFor(value=Attachment.class)
public interface AttachmentProxy extends ValueProxy {

	public String getUrl();

	public void setUrl(String url);

	public String getTitle();

	public void setTitle(String title);

	public String getContentAsString();

	public void setContentAsString(String content);

	public Date getDate();

	public void setDate(Date date);

	public Boolean getPublished();

	public void setPublished(Boolean published);

	public TemplateProxy getTemplate();

	public void setTemplate(TemplateProxy template);

	public String getFileName();

	public void setFileName(String fileName);

	public String getFileKey();

	public void setFileKey(String fileKey);
	
	public String getServingUrl();

	public void setServingUrl(String servingUrl);
	
}